LOCAL_PATH := $(call my-dir)


include $(CLEAR_VARS)

LOCAL_MODULE 			:= libstlport
LOCAL_C_INCLUDES		:= $(LOCAL_PATH)/stlport/stlport
LOCAL_SRC_FILES 		:= $(addprefix stlport/src/,$(notdir $(wildcard $(LOCAL_PATH)/stlport/src/*.cpp $(LOCAL_PATH)/stlport/src/*.c))))

include $(BUILD_STATIC_LIBRARY)


include $(CLEAR_VARS)

LOCAL_MODULE 			:= libWorldRenderer
LOCAL_C_INCLUDES		:= $(LOCAL_PATH)/stlport/stlport
LOCAL_STATIC_LIBRARIES 	:= libstlport

LOCAL_SRC_FILES 		:= 	WorldRenderer.cpp Camera.cpp Texture.cpp esTransform.cpp RenderToTexture.cpp ShaderLoader.cpp Vector.cpp Model.cpp

LOCAL_LDLIBS 			:= -llog -lGLESv2

include $(BUILD_SHARED_LIBRARY)

